From b23e4c23498e82aa2f98eaf14e51c8c251250960 Mon Sep 17 00:00:00 2001 From: Davyd Madeley Date: Tue, 16 Nov 2004 16:52:17 +0000 Subject: [PATCH] Allow backspace to move up the FileChooser tree to make it consistent with 2004-11-17 Davyd Madeley * gtk/gtkfilechooserdefault.c: Allow backspace to move up the FileChooser tree to make it consistent with Nautilus and others. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkfilechooserdefault.c | 4 ++++ 5 files changed, 24 insertions(+) diff --git a/ChangeLog b/ChangeLog index 417239b741..52225956b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-11-17 Davyd Madeley + + * gtk/gtkfilechooserdefault.c: Allow backspace to move up the + FileChooser tree to make it consistent with Nautilus and others. + 2004-11-16 Matthias Clasen * demos/gtk-demo/*.c: Don't include config.h in the examples. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 417239b741..52225956b1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2004-11-17 Davyd Madeley + + * gtk/gtkfilechooserdefault.c: Allow backspace to move up the + FileChooser tree to make it consistent with Nautilus and others. + 2004-11-16 Matthias Clasen * demos/gtk-demo/*.c: Don't include config.h in the examples. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 417239b741..52225956b1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2004-11-17 Davyd Madeley + + * gtk/gtkfilechooserdefault.c: Allow backspace to move up the + FileChooser tree to make it consistent with Nautilus and others. + 2004-11-16 Matthias Clasen * demos/gtk-demo/*.c: Don't include config.h in the examples. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 417239b741..52225956b1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2004-11-17 Davyd Madeley + + * gtk/gtkfilechooserdefault.c: Allow backspace to move up the + FileChooser tree to make it consistent with Nautilus and others. + 2004-11-16 Matthias Clasen * demos/gtk-demo/*.c: Don't include config.h in the examples. diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index ef380c8dad..7bbd87d3d6 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -566,6 +566,10 @@ gtk_file_chooser_default_class_init (GtkFileChooserDefaultClass *class) GDK_Up, GDK_MOD1_MASK, "up-folder", 0); + gtk_binding_entry_add_signal (binding_set, + GDK_BackSpace, 0, + "up-folder", + 0); gtk_binding_entry_add_signal (binding_set, GDK_KP_Up, GDK_MOD1_MASK, "up-folder", -- 2.30.2